package com.analysis.dto;

import java.io.Serial;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Date 2025/9/3
 * @Author 蒋棒
 */
public class AiCallResponse implements Serializable {

    @Serial
    private static final long serialVersionUID = -2123560054361361554L;

    /**
     * AI返回的原始答案
     */
    private String text;

    /**
     * AI返回的答案
     */
    private List<String> contents;

    /**
     * 参考文档
     */
    private List<Reference> references = new ArrayList<>();

    public List<String> getContents() {
        return contents;
    }

    public void setContents(List<String> contents) {
        this.contents = contents;
    }

    public List<Reference> getReferences() {
        return references;
    }

    public void setReferences(List<Reference> references) {
        this.references = references;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
